package stu.sup.mapper;

import org.apache.ibatis.annotations.Param;
import stu.sup.entity.GiveLike;
import stu.sup.entity.GiveLikeExample;

import java.util.List;

public interface GiveLikeMapper {
    int countByExample(GiveLikeExample example);

    int deleteByExample(GiveLikeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(GiveLike record);

    int insertSelective(GiveLike record);

    List<GiveLike> selectByExample(GiveLikeExample example);

    GiveLike selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") GiveLike record, @Param("example") GiveLikeExample example);

    int updateByExample(@Param("record") GiveLike record, @Param("example") GiveLikeExample example);

    int updateByPrimaryKeySelective(GiveLike record);

    int updateByPrimaryKey(GiveLike record);
}